package cn.jobstart.modelDesc;

import lombok.Data;
import cn.jobstart.model.TalentPortrait;


import cn.jobstart.enums.TalentPortraitShowFlagEnum;
import cn.jobstart.enums.TalentPortraitDelFlagEnum;
import cn.jobstart.enums.TalentPortraitTypeFlagEnum;

/**
*    @author sunke
*    @Date 2023-10-14 23:17:57
*    @description TalentPortraitDesc      人才画像
*/
@Data
public class TalentPortraitDesc extends TalentPortrait {


    private String showFlagDesc;
    private String delFlagDesc;
    private String typeFlagDesc;

    public String getShowFlagDesc() {
        showFlagDesc=TalentPortraitShowFlagEnum.getDescByType(getShowFlag());
        return showFlagDesc;
    }
    public String getDelFlagDesc() {
        delFlagDesc=TalentPortraitDelFlagEnum.getDescByType(getDelFlag());
        return delFlagDesc;
    }
    public String getTypeFlagDesc() {
        typeFlagDesc=TalentPortraitTypeFlagEnum.getDescByType(getTypeFlag());
        return typeFlagDesc;
    }
}

